﻿<%@ Page Language="C#" AutoEventWireup="True" Codebehind="TestPrivilege.aspx.cs"
    Inherits="MemberPortal_TestPrivilege" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
        <br />
        <h3 style="text-align: center">
            当前登录用户：[<asp:LoginName ID="LoginName1" runat="server" />
            ] 以下是相关权限测试内容
        </h3>
        用户操作：<asp:LoginStatus ID="LoginStatus1" runat="server" />
        <br />
        <h4>
            Cookie内容：</h4>
        <div style="height: 150px; width: 600px; border: solid 1px #1C5E55; padding: 10px; word-break : break-all;">
            <asp:Label ID="lbl_Cookie" runat="server"></asp:Label>
        </div>
        <p>
            <strong>SessionId：<asp:Label ID="lbl_SessionId" runat="server"></asp:Label></strong></p>
        <h4>
            &nbsp;</h4>
        <h4>
            基本信息：包含在Asp.net 2.0内置的Membership类中
        </h4>
        <div style="height: 150px; width: 600px; border: solid 1px #1C5E55; padding: 10px">
            <asp:Label ID="lbl_BaseInfo" runat="server" Text=""></asp:Label>
        </div>
        <h4>
            扩展信息：数据保存在wmf_UserDetail中
        </h4>
        <div style="height: 150px; width: 600px; border: solid 1px #1C5E55; padding: 10px">
            <asp:Label ID="lbl_ExtendInfo" runat="server" Text=""></asp:Label>
        </div>
        <h4>
            用户所拥有的角色：
        </h4>
        <div style="height: 100px; width: 600px; border: solid 1px #1C5E55; padding: 10px">
            <asp:Label ID="lbl_Roles" runat="server" Text=""></asp:Label>
        </div>
        <h4>
            RolePrincipal:
        </h4>
        <div style="height: 150px; width: 600px; border: solid 1px #1C5E55; padding: 10px">
            <asp:Label ID="lbl_RolePrincipal" runat="server" Text="Label"></asp:Label>
        </div>
        <h4>
            判断用户是否有如下权限：
        </h4>
        <div style="height: 150px; width: 600px; border: solid 1px #1C5E55; padding: 10px">
            <asp:Label ID="lbl_Privilege" runat="server" Text="Label"></asp:Label>
        </div>
    </form>
</body>
</html>
